"use strict";
class Human {
    constructor(id) {
        this.id = id;
    }
    getId() {
        return this.id;
    }
}
class Animal {
    constructor(id) {
        this.id = id;
    }
    getId() {
        return this.id;
    }
}
class PC {
    constructor(id) {
        this.id = id;
    }
    getId() {
        return this.id;
    }
}
let human = new Human("罗佰君");
let id1 = human.getId();
let animal = new Animal(1);
let id2 = animal.getId();
let pc = new PC(human);
let id3 = pc.getId();
